import express from "express";

// 用户类控制器
import User from "../controller/user/user";
const userController = new User();

const Router = express.Router();

Router.get("/list", userController.list)
  .get("/check", userController.check)
  .get("/remove", userController.remove)
  .post("/add", userController.add)
  .post("/update", userController.update);

export default Router;
